#ifndef __adc_hw_H
#define __adc_hw_H



#ifdef __cplusplus
extern "C" {
#endif 

#include "gd32e10x.h"


void adc_config(uint8_t ch);
uint16_t getAdcValue(uint8_t ch);
uint16_t getAdcVolt(uint8_t ch);





#ifdef __cplusplus
}
#endif


#endif



